a = True
b = False

print(a and b)  #False
print(a or b)   #True
print(not a)    #False

print(1 and 0)  #0
print(0 and 1)  #0
print(1 and 2)  #2
print(1 or 0)   #1
print(0 or 1)   #1
print(not 1)    #False
print(not 0)    #True
print(not None)  #True